package org.thanos.iot.service.graphic;

import com.honeywell.tj.iot.entity.graphic.GraphicCategory;
import com.honeywell.tj.iot.vo.graphic.ComponentThumbnailVo;
import com.honeywell.tj.iot.vo.graphic.GraphicCategoryVo;

import java.util.List;

public interface GraphicCategoryService {

    List<ComponentThumbnailVo> getComponentThumbnail(Integer componentId);

    List<GraphicCategory> getCategoriesByParentIds(List<Integer> ids);

    List<GraphicCategoryVo> getCategoriesSelective();

    List<GraphicCategory> getCategories();

    Integer addCategory(String name, Integer parentId);

    Integer updateCategory(String name, Integer id);

    int deleteCategories(List<Integer> ids);
}
